package com.CST.dto.cb;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author: QTX
 * @Since: 2022/8/3
 */
@Data
public class BaseInComeDTO {
    private Long id;

    @ApiModelProperty(value = "开单科室编码")
    private String billDeptCode;

    @ApiModelProperty(value = "开单科室名称")
    private String billDeptName;

    @ApiModelProperty(value = "执行科室编号")
    private String executiveDeptCode;

    @ApiModelProperty(value = "执行科室名称")
    private String executiveDeptName;

    @ApiModelProperty(value = "费用编号")
    private String feeCode;

    @ApiModelProperty(value = "费用名称")
    private String feeName;

    @ApiModelProperty(value = "价钱")
    private BigDecimal amount;

    @ApiModelProperty(value = "收入类型")
    private Integer type;

    @ApiModelProperty(value = "产生时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate time;

    @ApiModelProperty(value = "产生时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate oldTime;

    @ApiModelProperty(value = "描述")
    private String description;
}
